<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>保底色图</title>
    <link rel="stylesheet" href="../common/css/swiper.min.css">
    <link rel="stylesheet" href="../common/css/common_mobile.css?version=1.0.0">
    <link rel="stylesheet" href="css/index.css?version=1.0.0">
    <!-- 移动端适配 -->
    <script>
        var html = document.querySelector('html');
        changeRem();
        window.addEventListener('resize', changeRem);

        function changeRem() {
            var width = html.getBoundingClientRect().width;
            html.style.fontSize = ((width / 10) + 5) + 'px';
        }
    </script>
</head>

<body>
<div id="wrap">
    <p class="rule fl">规则</p>
    <a href="../setu/mysetu.html?uId=" id="myWin" class="my fr">我的</a>
    <!--游戏区域-->
    <div class="main">
        <h2>您还有 <span id="change"> 5 </span> 次翻牌机会</h2>
        <ul class="box">
            <li class="animate1">
                <img src="image/pattern2.png">
            </li>
            <!--<li class="animate2">-->
            <!--<img src="image/pattern2.png">-->
            <!--</li>-->
            <!--<li class="animate3">-->
            <!--<img src="image/pattern2.png">-->
            <!--</li>-->
            <!--<li class="animate4">-->
            <!--<img src="image/pattern2.png">-->
            <!--</li>-->
            <!--<li class="animate5">-->
            <!--<img src="image/pattern2.png">-->
            <!--</li>-->
        </ul>

    </div>
    <div id="mask-card"></div>
    <!--游戏规则弹窗-->
    <div id="mask-rule">
        <div class="box-rule">
            <span class="star"></span>
            <h2>活动规则说明</h2>
            <span id="close-rule"></span>
            <div class="con">
                <div class="text">
                    <p>鉴定范围1~8级，稀有度从E到SSS</p>
                    <p>鉴定与稀有度两者无关！每1小时有5次机会</p>
                    <!--<p>查看中奖记录，给机器人发送指令：#我的色图</p>-->
                    <!--<p>机器人QQ：2547170055</p>-->
                </div>
            </div>
        </div>
    </div>
    <!--中奖提示-->
    <div id="mask">
        <div class="blin"></div>
        <div class="caidai"></div>
        <div class="winning">
            <div class="red-head"></div>
            <div class="red-body"></div>
            <div id="card">
                <a href="" target="_self" class="win"></a>
            </div>
            <a href="" target="_self" class="btn"></a>
            <span id="close"></span>
        </div>
    </div>
</div>
<script src="../common/js/jquery.min.js"></script>
<script src="../common/js/swiper.jquery.min.js"></script>
<script src="../common/js/h5_game_common.js?version=1.0.0"></script>
<script src="js/index.js?version=1.0.0"></script>
<script>
    var qqId = getQueryString("uId");
    if (qqId === '' || null == qqId) {
        alert("用户参数不能为空");
    } else {
        console.log("开始设置");
        $("#myWin").attr("href", "../setu/mysetu.html?uId="+qqId);
    }
</script>
</body>
</html>